$(function () {
    $(".userInformation").on({
        click:function () {
            var obj = $(this);
            window.location.href=getPath() + "/JSP/user.go?method=userInformation&userId=" + obj.attr("userId");
        }
    })
    $(".updateUser").on({
        click:function () {
            var obj = $(this);
            window.location.href=getPath() + "/JSP/user.go?method=updateUser&userId=" + obj.attr("userId");
        }
    })
    $(".deleteUser").on({
        click:function () {
            if(confirm("确定要删除该用户吗")){
                var obj = $(this);
                window.location.href=getPath() + "/JSP/user.go?method=deleteUser&userId=" + obj.attr("userId");
            }
        }
    })
})